package com.itheima.service;

import com.itheima.pojo.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Role;
import com.itheima.vo.MenuAndRoleVo;
import com.itheima.vo.MenuVo;

import java.util.List;

public interface MenuService extends IService<Menu> {

//    Object getMenus();

    List<MenuVo> getMenus(String username);

    List<Long> getRoleByMenuId(long id);

    List<Role> getRole();

    void updateRoles(MenuAndRoleVo menuAndRoleVo);
}
